//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Lucinda Williams','Hilde Performance Center','Minneapolis, MN','Saturday','6/8/2024','5:00 PM','6359262','Lucinda-Williams-6-8-2024'],['Lucinda Williams','The Admiral - Omaha','Omaha, NE','Sunday','6/9/2024','8:00 PM','6375138','Lucinda-Williams-6-9-2024'],['Lucinda Williams','Codfish Hollow Barnstormers','Maquoketa, IA','Tuesday','6/11/2024','8:00 PM','6377059','Lucinda-Williams-6-11-2024'],['Lucinda Williams','Barrymore Theatre - Madison','Madison, WI','Wednesday','6/12/2024','7:30 PM','6377468','Lucinda-Williams-6-12-2024'],['Lucinda Williams','The Castle Theatre','Bloomington, IL','Friday','6/14/2024','8:00 PM','6377827','Lucinda-Williams-6-14-2024'],['Lucinda Williams','Vogue Theatre - IN','Indianapolis, IN','Saturday','6/15/2024','9:00 PM','6375167','Lucinda-Williams-6-15-2024'],['Lucinda Williams','The Kent Stage','Kent, OH','Monday','6/17/2024','7:30 PM','6383275','Lucinda-Williams-6-17-2024'],['Lucinda Williams','Byham Theater','Pittsburgh, PA','Tuesday','6/18/2024','7:30 PM','6390251','Lucinda-Williams-6-18-2024'],['Lucinda Williams','U.S. Cellular Stage at the Bijou Theatre','Knoxville, TN','Friday','6/21/2024','8:00 PM','6386494','Lucinda-Williams-6-21-2024'],['Winnipeg Folk Festival: Shakey Graves & Lucinda Williams - Thursday','Birds Hill Provincial Park ','Dugald, Canada','Thursday','7/11/2024','TBD','6294584','Winnipeg-Folk-Festival--Shakey-Graves---Lucinda-Williams---Thursday-7-11-2024'],['Nelsonville Music Festival: Lucinda Williams, Kurt Vile and The Violators - 3 Day Pass','Snow Fork Event Center','Nelsonville, OH','Friday','7/26/2024','TBD','6066960','Nelsonville-Music-Festival--Lucinda-Williams--Kurt-Vile-and-The-Violators---3-Day-Pass-7-26-2024']],'Lucinda Williams','http://www.ticketnetwork.com/ticket/Lucinda-Williams-events.aspx');